package com.sc.nft.entity.vo.merchantPledgeTask;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.PledgeTaskTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class MerchantPledgeTaskPageVO {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "活动名称")
    private String pledgeName;

    @ApiModelProperty(value = "活动封面")
    private String activityCover;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date beginTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "开始时间戳")
    private Long beginTimeStamp;

    @ApiModelProperty(value = "结束时间戳")
    private Long endTimeStamp;

    @ApiModelProperty(value = "当前时间戳")
    private Long nowTimeStamp;

    @ApiModelProperty(value = "类型")
    private PledgeTaskTypeEnum type;
}
